Going by the guidelines in the DMG, a 20th-level character does not gain any further levels. However, the DM may at their discretion hand out Epic Boons at appropriate moments to fit the story, with advice suggesting that offering one every 30,000xp or so above the 355,000 needed to get to level...