Those are both limited by the engine cycle, yes you could just add more gensets, but you'll either lower the performance of the engine to unacceptable levels or increase fuel consumption without a core upgrade. Same with cooling, while there are other methods of cooling such as dedicated heat exchangers, the engine remains to be the largest heat dump and is also limited by the engine cycle.
I still don't think designing for WS-15 is a good idea, it's difficult to optimise systems for both future VCE and WS-15 at the same time considering the likely large difference in performance (US VCEs are expected to offer much more capacity for both compared to existing engines like F-135). If they'll ending up having to wait for VCEs like J-20 with WS-15 we might see another J-20/J-20A situation.
I just don't see increased electricity generation resulting in unacceptable engine performance.
Let's say aircraft electricity requirements increase to 1MW.
Two F-119 engines on the F-22 produce 34MW of thrust. So you might see a 3MW reduction in thrust given a 1MW electricity draw.
And this only occurs when maximum electricity generation is required. Most of the time, the aircraft will be transiting with the radars and lasers switched off.
---
You can always compensate for increased fuel consumption with drop-tanks or marginally more airborne tankers (given that tankers would be a requirement anyway for long-distance operations)



