@godblessed777 There is always a way. And if truly there is nothing school allows to make your studies harder, you can challange yourself.
I used to be super bored earlier in school too and i much rather stay home than sit there listening teacher repeat some common sense 10 times
so i got myself busy. I started bringing extra notebook for writting (like creative writting) or higher level workbooks etc. So whenever teacher was explaining stuff i already understood or whenever i finished given exercice much faster than the given time, i would simply pull it out and do my own thing. Or do some art. Or finish homework given in previous class...basically profit this time to improve some skill or do something that will save me time by not having to do it when i come home.
I also draw notes and started memorising my guitar practice (without physicaly having guitar, like dry practice) or mentally going through dance routine for my dance practice, reading a book (i went through 8 books a day and pretty much turned around the whole library in my school years lol)...anything and everything to make myself not bored.
I missed a lot of days too but always for a justified reason - mostly health related.
There are definitely ways to combat boredom and i understand it is still shittier than being home and having full freedom BUT learning to function on that daily work schedule is important preparation for your future. If you skip it now, you WILL have hard time later on in life.