Yes, depending on the tone of the conversation, "OMY" can definitely be used sarcastically.