really long mono pod, ladder, drone or a setup that is secured above the field somehow and that u can trigger the shutter with a remote.
basketball game wise it’s a little easier as there’s many things u can secure a camera too. but u have to get permission first and test things out during a practice.
otherwise if it’s outside… realistically it’s a drone… just be sure not to fly too low cuz u don’t want to disturb the game and get kicked out or ejected.