Not the person you replied to, but off-grid doesn't mean no power. I have an off-grid cabin with enough solar capacity to run my laptop, as well as quite a few other things. I'm looking forward to getting Starlink there myself. It's a fantastic, quiet place to work with no opportunity for interruptions.
photovoltaic power systems are a lot less costly than they used to be - if you're fully off grid and won't be connecting to it, having absolute fidelity to electrical code might not be a high priority. If you have some technical ability and can follow documentation and instructions, big 360W panels are like $0.45/watt now, and the setup process for a charge controller and battery bank isn't excessively difficult.
Sometimes there's not an option to be on the grid.