It's not a bicycle, and doesn't belong in a bicycle lane. At 50cc, it is classed as a "motorcycle". It needs a license plate, and insurance. You need a drivers license to ride it.
The answer is no, It's not legal. You would be stopped and there's a chance the bike would be impounded.