Yes it will generally work fine, with other switch vendors you may need to look at your STP design carefully, but otherwise it's still just a switch and none of the hardware you've mentioned has any vendor lock in requirements that I'm aware of for basic operations. If you need more advanced features there may be other considerations.
If you found this post helpful, please give it Kudos. If my answer solves your problem please click Accept as Solution so others can benefit from it.