Barefoot or not?

Goodmorning everybody!

I have a question for you.

Is it safe to train barefoot?

(I mostly do strength training)

I have a wooden floor and my training shoes keep slipping on it.

So I dedided to take them off.

However I wonder if it can cause a problem.