Getting rid of 90 degree oil adapter

I think you can pull the filter thread-on from the adapter and put it in the block. Confirm, anyone? When you do pull the adapter off, be sure to get the gasket that seals it to the block. Otherwise the filter will not seat properly.