Entirely doable, but <object> doesn't expose the same scripting APIs that <video> does. So, for instance, you will get a playable video in YouTube, but none of the YT buttons will work.
The YT buttons could be made to work because there is an analog for them, for example: document.getElementById('video').controls.pause(); does what you would expect.