merriam-webster defines it as "two or more slices of bread or a split roll having a filling in between." simple enough. essentially, anything can be a sandwich so long as it's between two slices of bread or inside a roll or bun. so by a technical definition, yes, hot dogs and hamburgers are very much sandwiches.