Can I invite in a flotilla someone who is not on a boat?

Yes, you can.
If that person is on land, you will not be able to see any location information about them but they can see you on water.
This is very useful in the situation when you want to share your location and plan your arrival with your charter company. They can see you approaching the marina and can timely provide support if needed.