I am (re)learning electronics and I am currently playing around with "simple circuit" to practice a bit. For testing, I am doing a simple circuit that could have 2 different input voltage (not at the same time), one from a 12v and one from a simple Li-Po (3.7v). As I want 5v I use a simple step-down voltage regulator for the 12v. Regarding the battery, I know I could use a step-up voltage regulator, but I would like to know if it was "ok" and "safe" to use two (same) capacitors (non-polarized) to increase the voltage output voltage of the battery, and then use this "boosted" voltage inside my 5v voltage regulator. So I avoid to use 2 ICs for a "simple" tasks. Also, to learn a bit more, what would be the drawback of this solution even if it is "OK" to do it ?
N.B.: I know that step-up/step-down voltage regulator exists, but I do not own one and these ICs seems a bit more complex than "simple" fixed step-down voltage regulator. So for now if I can still use my step-down voltage regulator it would be great.
NB2: Li-Po have an integrated circuit to protect from overvoltage, so I suppose it's ok to boost the voltage