You'd need to define what you mean by "safe". The Apple beta program will not load any malware onto your phone.
However, if you only have one phone, putting incomplete software onto it is foolish. It's a bad idea. Don't do it. Based on your question, I suspect you're not a developer, perhaps not even an experienced iOS user. You should not be putting beta software on your only phone.
If you have a spare phone that you can use to put the software on, there's no particular harm.