Is it possible to mix various maps functionalities?

I have a short question - is it possible at all to mix various maps' librarries functionalities? For example, I'd like to use leaflet functionalities on mapbox map. I tried once and it dodn't work, please let me know if it's possible at all.