Yes - handlers are there to do exactly that: exchange information across threads in a thread safe way.
In practice, handlers use a thread safe (synchronized) message queue to post messages, creating a happens-before relationship between your code and whatever will happen on the UI with your object.