It isn’t a good idea unless you use a human translation because if you make mistakes it will give you a bad grade
It’s both yes and no because if the teacher sees that you used some Japanese translation you might get a better grade. But what if you make mistakes.