Yes, it is okay as long as your usage doesn’t include legal documents. To use your middle name legally, you must make an official petition to a court to grant you a change of name. Replacing first or last names with middle names is actually a common practice in the U.S.