Yes, but I would suggest a before commit. Otherwise you'll implement 2 commits on the same object right after each other.
Just configure the eventhandler and choose the microflow. Place the entity as parameter in the microflow and set the required attribute.