Relation is not same. If for interview I have to spend time in algo, design system, clean code, etc. the knowledge will at least be useful in next interviews or even in my job. Here difference is like you’re a physicist but you gotta dig into chemistry. Just want to understand where my time is better spent in. I am open to learning new fields in physics if we continue same analogy or lets suppose Go language.
I only see this coming in handy in scenario where backend jobs are scarce and too many frontend openings. Then I can say I worked in frontend on job and learn for the interviewing. But this is unrealistic scenario