Hello Darren,
There are a number of things that you should be aware of.
The maximum nose load that the Nissan X trail can handle. Some models are as low as 75Kg and others only 100Kg I do not know what your specific vehicle is rated to.
You must be able to accommodate the combined caravan nose weight and the cycle carrier (and cycles) weight within the tow balls maximum load. Most people find it difficult to keep a solo caravan within the limit for most cars, so a cycle carrier as well is often too much.
Be wary of the physical clearances between the caravan and the cycles when turning or entering ramps.
Your rear lights and number plate must be visible - sometimes a trailer board is necessary to ensure that you are legal.
You must also be aware that for some vehicles the rear projection of a cycle carrier may require some other marks and indications to warn other road users.
Its not impossible, and for a solo car it is generally OK but you will need to check carefully the capacity and the actual loads if you wish to try a caravan at the same time.