When adjusting status by marriage the overstay is not held against you. Yes, you can adjust after an overstay. Just be sure not to leave the country, until you have your LPR status.