What are you trying to accomplish? Are you wanting to use your television as your “permanent” monitor solution for your laptop, and wanting to make that connection via AirPlay?
If yes, then I’d say it’s “safe” but you may experience some drops in connection, or needing to periodically reconnect. A wired connection is probably going to be a better long term solution.