Yes.  From studying the Adjust-a-Gate kit pictures, you will be able to attach to the 2x4’s.  You will need to attach to the horizontal 2x4’s very similarly like a regular gate.  You may then want to remove the cable that comes with that kit.