Yes, of course.
You can convert a regular door into a barn door quite easily. You have to buy the barn door hardware kit.
Converting a regular door to a barn door by installing the barn door hardware is not hard at all. You just have to make sure that there is enough space for the door for the sliding.