Definitions:
Jam: a sweet spread or preserve made from fruit and sugar boiled to a thick consistency.
Ketchup: a smooth sauce made chiefly from tomatoes and vinegar, used as a condiment.
I think the main difference is one viscosity. One is a spread and can somewhat hold its gelatanous shape the other is a sauce. So no I dont think theyre the same.
That said, im loving these food comparison threads haha.