Yes, when you delete a trip segment we simply hide it from the timeline, to undo it, click "Show Deleted Segments" and then find it and press "Undelete". For more details please review this tip:
https://awardwallet.com/blog/tip_of_the_day/24-delete-travel-segment/