I have a paid app and want to make a second app free if the first app is allready bought

I have a paid app and want to make a second app free if the first app is allready bought. Is this possible?