Split UVs based on UDIM Tiles borders?

Say I have a plane uvs that covers like 16 udims, since UDIMs don’t support faces crossing the UDIM tile borders, is there some type of script that would split the plane into 16 parts based on the UDIM tile borders?

This would make UDIM setup easier and very convenient.

If this type of script does not exist, would it be possible to make?