If a car door won't latch is it legal to drive on the street holding it shut?
of course not. You will probably be fined
In general, you don't need a driver's license to operate a vehicle on private property (such as, say, a golf course). You cannot drive a golf cart on the street, because golf carts are not street legal vehicles. If you modified one in such a way as to make it street legal, then yes, you would need a driver's license to drive it on the street.