Yes, there are no restrictions that would prevent this, apart from browsers moving toward blocking autoplay of foreground videos. You’ll just need the JS, HTML, and CSS for 1. The videos must be implemented as background-elements, otherwise it’s liable to break quite quickly when browsers’ catch up.
I am not aware of any pre-built templates/extensions for this. This thing is mainly for managing content and rendering it in an efficient way; there’s very little feature-overlap for niche-cases such as this across Content Management Systems.
The resources I linked demonstrate how to do this easily. Like anything, it does require implementation in a Theme or a Plugin. There are some Themes that do use Masonry-layouts, but it’s not common to autoplay videos as well.