The flip of this, is the reason Apple have had to move to USB-C is because a legal directive as part of the single charger reform (aimed at reducing waste and costs) for all small electronic devices to be comparable with USB-C charging ports by Dec 2024. The European Commissioner has already written to Apple, before the iPhone 15 came out, telling them that if they restrict the functionality with 3rd party cables they will look to ban new Apple devices from sale after this December deadline.
So with that in mind, if the cables work for other devices - they should be working with Apple too.
HOWEVER, the current place I’m at with Apple is that it appears that the “Power Delivery” Functionality seems to be troublesome and is giving some users over USB-C to USB-C issues with none charging. There’s a handshake process over the cable between a PD capable power source and the iPhone - and the iPhone isn’t always confirming this handshake properly and is stopping the charging process. (Software support are blaming Hardware, and I’ve had a new inner system - yet is still having the same issue. And now Hardware support are blaming Software and no one knows how to fix it)