Is there a way to create fragments or pages automatically from a list with a certain content

My goal is to have its categories inside the “meditation” fragment that I can switch on top nagivation bar by sliding inside which there will be recyclerview with certain content like in application “Calm”
Is there any ways to get this without creating fragments for each category? Please give me some advices

there is screen of it (where sleep, anxiety, beginners is categories)
(upload://uhmbfSupOKaZ2uVrD40ImuLp7jc.jpeg)