it is possible, you just need to get to the part of the main quest where you meet a friendly dragon, add the conversation and them in the faction, however I dont think the wedding would work because I dont think dragons can go indoors
have you tested this? Hehe, Esbern would go ballistic

"Yeah, that dragon i was supposed to kill? I married him" 0.o