Capping number of objects in table

Is there any way to cap the number of objects in a table at 6 and send the 7th object to a new table, thus making said object the first object in a new table?

This sounds rather odd, but you could potentially do it using custom business logic.