In the short term it plainly can. Attractive packaging, a well-judged price, wide availability and heavy promotion will persuade a great many people to try something, and for a product bought once — a souvenir, a novelty item, something sold to tourists who will not return — that may be all the business needs. A strong brand also carries products that are mediocre, because customers trust the name rather than judging the item, and good distribution means a poor product that is available beats a better one that is not.
Over any longer period it cannot. Marketing brings customers to try a product; only the product itself brings them back, and repeat purchase is where profit accumulates because the cost of attracting a customer is incurred once while the sales continue. A poor product also generates negative word of mouth, and reviews now make that visible to everyone considering a purchase — so the better the promotion, the faster the disappointment spreads. Promotion that oversells actively worsens the outcome, because customers judge a product against what they were led to expect, and a large gap produces more anger than a modest product modestly described.
There is also the question of what success means. A mix can produce high sales for a period, which looks like success, while destroying the brand's reputation and making the next launch harder — so the business may win the sale and lose the customer permanently.
A well-designed mix therefore cannot make a poor product successful in any lasting sense, though it can make one sell. The realistic conclusion is that marketing determines whether a good product gets the chance it deserves, and accelerates what happens to a poor one. That is why the product is usually treated as the foundation of the mix: the other three elements multiply its effect, and multiplying a poor product simply produces a larger failure.