No, it is a complete myth, something that virtually all sword makers across the world were doing. Japanese iron ore was actually higher quality than most, and they had plenty of iron ore for sword making (though iron was later imported during the industrial revolution).
See this answer on a subreddit dedicated to high quality answers by historians: https://www.reddit.com/r/AskHistorians/comments/77tq5r/japan...