Yes, a plug-in fixture can be turned into a hardwired fixture and a hardwired fixture can become a plug-in fixture.
For many products, we will provide the necessary hardware to make these changes. If not, you will need to purchase the necessary hardware separately.