Sounds like a fun project.
First off, get a multimeter and measure the actual current draw of the web cam. Cut the DC side of the power cord and patch the meter in series with one of the conductors, so power flows from the wall adapter, through the meter, through the camera and back to the adapter. If you don't want to do this, and your range is 4 to 7 watts, lets just round that up to 10 to make the math easy.
The battery needs to run the camera, well, most of the time. 10 watts times 18 hours (conservatively) is 180 watt-hours. 180 watt-hours divided by 12 volts is 15 amp-hours... that's about the size of a garden tractor battery (I don't know what size a motorcycle takes, is it similar?)
You want a panel that can push out 180 watts in 6 hours for the battery, plus another 60 watts for the camera... 240 watt-hours divided by 6 hours is 40 watts. You want a 40 watt panel, at a minimum.
Yes, you want a charge controller. It doesn't need to be MPPT, that won't help much at these lower power levels... any 'ol cheapy off eBay will be fine. The controller is more to keep the battery from being destroyed if too much power comes in.
Lastly, you don't want or need to use an inverter. Instead get an adjustable DC-DC converter, like a DROK and set it to whatever voltage your camera wants. This will save on waste caused by the inverter and waste caused by the wall adapter.
2013 KZ Sportsmen Classic 200, 20 ft TT
2020 RAM 1500, 5.7 4x4, 8 speed