It's best when you really like something you're doing.
It's ideal to do something because you enjoy it, not because you have to.
この場合、次のような言い方ができますよ。
ーIt's best when you really like something you're doing.
「やっていることをすごく好きな時、一番良い」=「好きなことをするのが一番良い」
ーIt's ideal to do something because you enjoy it, not because you have to.
「やらなければいけないからではなく、好きだから何かをやるのが理想的だ」=「好きでやるのが一番良い」
ご参考まで!