Man accused of practicing dentistry in apartment