Depends on your location and the quality of the 4g/5g network.
If were talking about a good quality network and you have good reception theres no reason you cant do it.
Latency is not an inherent problem with 4g/5g or really any network technology thats used but it can be a local issue.
You could check network uptime stats if theyre available but really the only way to know for sure is to try it out.