Yes, this component does work with any custom object, you just need to set the objectAPIName attribute of the LEX Lookup component with the API name of your custom object.