Is it ok to let Mac air run 24 full hours?
Yes of course. I had my MacBook running for a week once. And as long as you don't do any heavy tasks, such as rendering or video compression, you won't have any overheating issues.