Yes this has been discussed in great detail. Laws are intended to prevent e-bikes from needing license/insurance/registration to be operated on maintained surfaces. They are not aimed at mountain biking.
FWIW, I fully support allowing e-bikes of the various types on maintained lanes/bike paths/etc.