The tricky part is probably testing. I don't think e.g. jest (or maybe it was enzyme?) supports alternative implementations quite yet, though they were working on it...that was true months ago though.
If you're starting from scratch pretty easy though, sure. But that assumption is all too widespread in the JS ecosystem these days : (