As long as you can afford the cost to run the swimming pool pump 24 hours per day 7 days per week then you certainly can run your pool pump 24 hours per day 7 days a week.
Actually it's best to run your pool pump 24 hours per day 7 days per week to keep the swimming pool water circulating and prevent the water form becoming stale and green.
The constant circulation and filtering of the water keeps the water in good condition so it's best to leave the swimming pool filter pump on as much as possible if you can do so.
Some people only run the swimming pool pump all night which is okay as well and then run it again when they get ready to go swimming again.
The more you run the swimming pool pump the better off your swimming pool water will be and swimming pool pumps are made to run constantly so nothing bad will happen if you leave the swimming pool pump on all the time.