Can you achieve the best ending in DS3 without dying once?

There is no such thing as the best ending, all endings are just different.

There are total 4 possible endings in the game, and only one of them:

Usurpation of Fire

requires you to die multiple times to receive

Dark Sigils from Yoel of Londor.

You can check all endings details on wiki (spoilers, obviously)