Solo, it would be fun. The Ninja 500 is quick and agile. With a passenger, the bike will do it, but it is going to be crammed, and of course, even though they have a passenger seat, mid or small bikes are not really meant to carry a passenger on very long trips.
A passenger is a heavy load, and a motorcycle for really coping with it without affecting much performance, it needs at least 60 ft-lb of torque. You are talking 900 cc territory here. This is to do it in confort and still enjoying the quickness of the bike.
Of course, am from the third world originally and over there it is very common seen 150 cc bikes carrying the rider, a female passenger with a stroller in hand, and a small child on the tank, and the bike still manages, but it is not pretty.