Another reference: https://newsline.kitplanes.com/2017/07/26/alpha-electro-an-e...
You're not likely to have shock cooling issues in an electrically powered aircraft. Shock cooling is a piston aircraft thing, and is mostly an issue on turbocharged aircraft. You're not worried about shock-cooling the engine, you're worried about shock-cooling the hot side of the turbocharger. So in the use-case of spoilers being used to keep the engine spooled up, you're right that it wouldn't be necessary here.
And as far as pulling the throttles to idle and more-or-less gliding during the descent, that's the ideal, but in the real world spoilers are used to drop more quickly all the time for non-emergency reasons. If you have favorable winds up high, you might choose to stay up high until absolutely necessary and then quickly descend to make better time. In trainer class aircraft you don't typically have spoilers to help this, so you end up cross controlling the aircraft to increase the sink rate. If I could have a big ol windmill in front of me in a 172 to do that, it'd be pretty darn nice.
When power is surplus, climb to your service ceiling. When not, descend. Utilise battery when at minimum altitude.
This was the technique used by Solar Impulse 2 on its round-the-world (though not nonstop) flight. At a cruse speed of 70 kph (43 mph).