Depending on where you are, that's pretty close to what's happened. Right now (4pm), the California ISO is generating 73% from renewables+hydro, 7% nuclear, and the balance gas. Naturally, the night replaces solar with gas.
This is largely how California has reduced electricity emissions to their current levels.