How do you know they're not load bearing?
Then yes, you can remove them and you shouldn't have any issues with the roof if they're not supporting the roof.
Hello. Do you have any other questions for me on this topic? If you could rate my answer, I would appreciate it.