In 1600 William Adams, later known as Miura Anjin, ended up in Japan and opened the door to relations between the country of his birth and the one he'd spend the rest of his life in. In OTL however they didn't amount to much and came an abrupt end following the Amboyna massacre in 1623, with the English closing their commercial base at Hirado Island without notifying Japan. An attempt to reopen relations was attempted in 1673 but was rebuffed by the Japanese who'd gone isolationist four years earlier and had taken exception to the English bailing without informing them in 1623. Neither country had anything to do with the other until the Nagasaki Harbour Incident in 1808. The first treaty between the two countries was signed in 1854.
Would it have been possible for the two century period of not having anything to do with each other to have been avoided, with relations continuing uninterrupted from William Adams to when the first treaty was signed in OTL and hopefully beyond? Bonus points if relations are friendly(ish) (I suspect that this may involve/require mutual dislike of a third country).