Yes. Your invention may include functional aspects protectable through a utility patent application and ornamental aspects protectable through a design patent application. While technically those distinct aspects are distinct inventions, it is fair to say that, in general, an invention can be covered by both utility and design patents.