Probably--but probably not for the reason you're implying. In both cases, it's likely just how things ended up by reason of the various paths they took to get to where they are today.
A humorous column article on the subject: www.straightdope.com/columns/read/560/why-do-hot-dogs-come-10-to-a-pack-while-buns-are-8-to-a-pack