Yes, you can apply for retirement benefits on SSA.gov at the same time you’re enrolling in Medicare. This can be done through the online dashboard.