This is possible, but I"m not going to lie to you, it may not be easy if your camper comes on and off your truck once and a while, but that will depend on the model of alarm you put on.
Secondly, we don't remcommend putting on a proximity alarm. As the temperatures around the camper change so does the sensitivity of the alarm and that can trigger false alarms. We recommend getting an alarm that can use multiple triggers and use glass sensors and magnetic reed triggers. The design of most campers means that shock sensors will be kind of useless. Mount the glass sensor somewhere high and in the middle of the camper. If there is a particular window that is big enough for someone to get into easily, it would be beneficial to tilt the microphone slightly towards the window. Apply the reed sensors along the windows and doors where it would be hard to get to.
The alarm you choose will be one that doesn't trigger when you cut the power to it. That way you can disconnect your camper's power without triggering the alarm. No particular models come to mind at the moment, but one of our guys might know of one that could work. It'll be a basic one. You won't need lock/unlcok features (unless you want to add power locks, but not really needed) or an LCD receiver (which drains the battery in your fob every couple of months). Just an alarm that waits for a trigger then sets the alarm off.
Or what about this? Buy those battery powered window/door alarms that you can buy for like 6 for $20, You'll have to recharge/replace the batteries every 6 months (or sooner depending on use and circumstances) but you won't have to go through a bunch of wiring.
Another thought that came to mind was adding a 12v battery such as a motorcycle battery or lawnmower battery and tapping off that for the alarm. Then mount a small (like 1.5 watts) solar panel to the roof to keep the battery charged for the alarm. Most decent quality panels will have an isolator built into them so it should not interfere with the function of the alarm.
Hope this give you better direction for what to do or look for. PM if you have any more questions.
Good Luck!
Never send your ducks to eagle school.
The difference between ordinary and extraordinary is that little extra.
The 3Ls of life: Learn from the Past, Live for the Present, Look to the Future.