It will work fine, just make sure to size the box properly to get the right volume. Also make sure there is enough room in front of the speaker. Those cones actually move pretty far back and forth. I'd leave 1 1/2" to 2" clear in front.
Good luck,
Chris