We have loads of Almonds which have developed a strange back taste(maybe rancid) they are eatable but the flavor has changed probably due to extended storage , so we decided to extract oil out of it but is it good to use such almonds for oil? What are some other uses of such almonds?
If they truly are rancid, then you should just discard them. Any use of the almonds or their oil will just impart a terrible taste into the dish in which they are used.
If they have gone sour (I am not sure how that would be possible), then something is very wrong, perhaps an unusual type of spoilage, and similarly you should just discard them for safety reasons.
Either way, unfortunately, I don't think you should use them.
Throw them out! If they look funny or smell funny do not ingest them. I recently took a graduate level Mycology lab course where we learned about the dangers of the fungus Aspergillus producing extremely toxic metabolites called aflatoxins, especially in nuts. The metabolites can stick around through processing, so oil extraction won't "clean" the almonds if they have become rancid with this type of metabolite. Seriously, don't mess any old nut products. They can really make you sick.