Can I use a train if I have been asked to self-isolate?

No. If you have been asked by 111 or a medical professional to self-isolate you should avoid public places and contact with other people until you are told it is safe to do so. The NHS has more information about how to self-isolate.