analog ir proximity sensor

hello is it possible to build an infra red proximity sensor without arduino? meaning using just infrared-tx infrared-rx and simple led? many thanks in advance for any help