If DXM is the only active ingredient there is no real physical danger, and those are low doses so I doubt there will be much psychological danger either.
Still its not a good idea to do cough medicine in recreational doses multiple times a day or even a week.