Assuming you mean outside of a golf course, the answer is yes, but probably not for long if you do.
Golf shoes are designed with special features to improve traction and grip on the turf, as well as provide support and stability during the golf swing. These same features, however, can make them uncomfortable to wear for extended periods of time when not playing golf.
The spikes on the bottom of golf shoes can also damage carpets and hardwood floors, so it's best to take them off before coming inside your home. Overall, golf shoes are designed for function on the course and may not be the most comfortable or practical choice for everyday footwear.