I've taken my bike on one of the summit Bermuda cruises years ago. We did have a suite and coordinated it with the concierge ahead. I believe I had some customs paperwork I had to fill out to prove that I wasn't leaving the bike there or whatever. They stored the bike with the crew bikes in the bowels of the ship somewhere. I was given the card of someone in security to ring anytime i wanted them to bring the bike to the gangway for me. It was wonderful. Planning on doing it again for an Alaska cruise now that I live in Seattle.
I'm not sure how e-bikes will be handled. Sometimes that is on the excluded list.
To anyone curious about this option, if it works logistically for you, there's nothing like getting off in a port and exploring quickly on your own without being sucked into port logistics with thousands of people.