Yes, if you don't mind writing the whole app, I'am re-writing my blog now with it.
I have a blog template with bootstrap 5 with DarkMode already working.
I recommend that if you go down this path that you use the CodeIgniter Modules.
If you need more help we are here to help you.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )