“O” has been traditionally used for an invocation, quite different connotation than an exclamatory “oh.” Of course, if you use “O” in a poem, you better earn it! It does have a whiff of mildew.