For my application I would like to generate -7V from a -20V supply. I was wondering if there is a way to do this with a switching regulator? I am planning to feed this into an LDO to generate -5V.
Please check LT8709. An LTspice model is available to help your design. Example application can be found in Fig. 22 page 40 of the datasheet.