Answer: Yes, a hotdog is a sandwich.
Explanation: Oxford Languages defines a sandwich as, "an item of food consisting of two pieces of bread with a filling between them, eaten as a light meal." and a hotdog bun is two pieces of bread stuck together. When all elements are joined, a hotdog is just a sideways sandwich.