You may have to install it on a runner(2x6 on flat) if its in an area where it could be stepped on or otherwise damaged, but that might depend on what your inspector finds acceptable.