Legally speaking are individuals allowed to sell branded name products online, if not what are the consequences?
It’s called retailing and is a business model that has been around for a while - since the earliest civilizations at least.
Obviously such products must be genuine and legally purchased by the retailer. Some products (e.g. software) is not sold by the producer - it’s licensed and retailers of that have to get permission.