There is a very small dos enviroment on XP that you can try to load your dos program on, but you can’t do any memory management to do any fine tooning of conventional memory , and who knows if XP even has dos compatible print drivers.
Also if your dos program requires access to the command.com it is gone, although you could find cmd.exe and copy it to command.com in the root to help out.
With all this said I say try it and see, if it works great if not then no, your dos program is to dos dependant 😉
You should just be able to load your DOS app onto your XP box and run it. You may need to run the app. in “compatibility mode”. KB article Q292533 at Technet.microsoft.com refers to this, as do a few other articles.