Yes, you could obtain a marriage-based green card but because you are outside the U.S., you would need to go through the U.S. Embassy in Dublin and this process can take a year or longer. While waiting, you wouldn't receive a work permit. That benefit is only available if you apply while you are in the U.S. with USCIS.
What do I need to do for having a work permit in the US? and can the process be in Ireland?
we would like to move once I get a job (the job ask if I can legally work there)