Unless the trunk is sealed or soundproof, there is no reason you can’t install the subwoofer there. The sound waves will easily pass through the materials separating the trunk from the main vehicle.