There is no easy answer when it comes to profitability and self-publishing. It really depends on a variety of factors, including the quality of your book, your marketing efforts, and your target audience.
That being said, there are still many authors who are able to find success with self-publishing. In fact, some authors are able to make a fairly decent living off of their self-published work. It is definitely possible to be profitable as a self-published author, but it takes a lot of hard work and dedication.
If you're thinking about self-publishing, I would encourage you to do your research and make sure you have a solid plan in place. There are a lot of resources out there to help you get started, so make sure to take advantage of them.
Here are a few articles that might be helpful:
https://www.thebookdesigner.com/2010/07/is-self-publishing-still-profitable/
https://www.selfpublishingadvice.org/is-self-publishing-still-profitable/
https://www.thecreativepenn.com/2015/09/22/self-publishing-still-profitable/