Yes, you can travel with IBD.
The first is to make sure you are well (in remission) prior to travelling.
Next, you need to make sure that you have an adequate supply of medications for your entire trip as you do need to stay on medicines while you are away.
You should discuss any travel plans with your gastroenterologist prior to leaving.