Well, yes and no. Basically Doom is open source as far as I know. But, the game files are basically licensed, and have to be bought. So if you want to aquire it legally, you will have to scour online-markets or local used software shops.
The editor on the other hand should, if one exists, be...