As others have said if you need a true ellipse either hydroform the tube or extrude it, if you need something better but not a true ellipse use a form tool with a shaped punch and die, this will limit the “outside” dimensions but not the “inside” or for a very basic oval shape form between two plate plates.
Depending on the tube size just sticking a small sample length in a vice should give you a good idea what you are likely to get with flat forming, capping and filling the tube with sand will give a better result on a shaped form tool. If it is seemed tube the placement of the weld will have a fairly major impact.
As with so many things in engineering small increases in accuracy result in large increases in cost, how accurate does it need to be?