Germany inter state traveling

I need to travel to Dresden from India and there is no direct flight. So I will be traveling to Frankfurt airport and will catch a train to Dresden. Is it possible to travel to Dresden and take quarantine?