I was in the same boat. When I bought this house it had a standby generator, but not on the same meter as the well and not enough power to run my central heating. I recently upgraded the generator to be able to power everything and switched the well onto the house panel. Such a huge improvement.
My well is pretty far from the house. Would have to trench a lot of large electrical cabling to get it connected to the generator. Too much hassle and expense for now.
I've been seeing aliexpress battery + hybrid charger deals that could probably support my pump, at least for a little while, will probably do one of those eventually, especially if we build a pumphouse.