If you are Roman Catholic can you receive a nondenominational ordination as a minister and still get married?

If you are ordained in another religion you cease to be a Catholic. You are free to marry but not in a Catholic church.