Yes, Actors can run 24/7, see here:
https://docs.apify.com/academy/running-a-web-server.
That said, you would have to pay for CUs all the time, even if the Actor is in idle. This will improve with the upcoming Actor Standby feature, but I'm not able to give you a release date at the moment.