Looks more like Maryland is ******** in that they've not yet recognized that ebikes exist. That doesn't make ebikes mopeds, and if you're willing to think that then you may as well just lump all two wheeled vehicles in a single category while you're at it...
While it would be possible to turn a bicycle into a moped, if you're willing to go that route then a bike purpose built from scratch really comes into the picture. Thing is bicycles don't have VIN's, and getting one is really non-trivial.