Dioxygenase that demethylates RNA by oxidative demethylation: specifically demethylates N(6)-methyladenosine (m6A) RNA, the most prevalent internal modification of messenger RNA (mRNA) in higher eukaryotes (PubMed:28923956). Modulates viral infection of the alfalfa mosaic virus (AMV) and the m6A abundance in its genomic RNAs (PubMed:28923956). 2-oxoglutarate + an N(6)-methyladenosine in mRNA + O2 = an adenosine in mRNA + CO2 + formaldehyde + succinate Binds 1 Fe(2+) ion per subunit. (Microbial infection) Interacts with the capsid protein ORF3b of the alfalfa mosaic virus (AMV). Belongs to the alkB family.