Yes, you can hardwire the lighting that goes under cabinets. It is one of the easiest ways to install LED lighting under cabinets. It’s a superb way to make your kitchen look classy. You can easily switch the lights on and off and lower their brightness.