Yes, this is for 1/2” knockouts.
While this connector has not been designed for such an application, it could work depending on the thickness of the drywall. The connector is 5/8 inches long. We recommend checking with your local inspector to ensure all codes/standards are met as well.