Can I move this drain line from the wall to the floor?
This is forbidden by the International Plumbing Code.

2009 IPC 906.2: "Venting of fixture drains. The total fall in a fixture drain due to pipe slope shall not exceed the diameter of the fixture drain, nor shall the vent connection to a fixture drain, except for water closets, be below the weir of the trap." (Emphasis added.)