Taping down cord with duct tape fire hazard?
It's a fire hazard becuse it inhibits easy inspection of the cable but does not protect it from crushing forces or from impacts.

do not do this except in very temporary setups ( like 1 week or less)

Otherwise use a floor mount cable protector.