knowledge is the key. Even Ancient Greeks could have built a wind electricity generator if they knew how - ie. if they knew about copper wire and electrical charge movement in it. And you can collect sun light and focus it on a boiler while still being in Ancient Greeks situation - that gives you https://en.wikipedia.org/wiki/Aeolipile which can be used to generate electricity too. And they could have possibly have that too https://en.wikipedia.org/wiki/Voltaic_pile or even https://en.wikipedia.org/wiki/Crystal_detector#Cat_whisker_d... - piece of crystal and a wire making a diode - and you can have primitive radio.
So, the newly built civilization bypassing fossil fuels would even be better :)