ofcourse it will work; as long as the connector fits and it's for similar frequency range.
It can handle a hf power of 50W max. which your cam will never exceed (you'r lucky to get a 0.1W out of it)
The 5W is the max. power consumption of the cam, with only a marginal part going into the WiFi.... the rest heating the insides of the cam or the parts in front via the ir diodes
