Is it okay to leave a MacBook Pro running macOS 24/7 without shutting it down or putting it to sleep?
Leaving your MacBook on 24/7 won't hurt it, and I've done it for over a decade. Just restart it once or twice a week, and shut it down if you won't use it for a few days.