I witnessed this issue in naryv's examples and hc-wolf's missions when run on Repka servers and I think the best solution is to respawn the groundgroup 500 m. further on the way to their next waypoint if it is stuck for 3-5 minutes and not in combat. Just an idea.
Yes this is possible and will solve the problem. An additional check against the ground type could prevent spawning within an ocean.