Can beside myself be used in a sentence?

(The idiomatic phrase "to be beside oneself" means to be anxious, upset or disturbed.)

"After my dog wandered off, I was beside myself with worry."