Is it possible to create an object with bmesh without use an existing mesh?

do you know if there’s a way to add verts/faces without having to do them individually?

See my question here for better explanation: