340 valves in 318 heads???

Yes it can be done, but unless your 318 is pushing a lot of horsepower then I wouldnt do it (because it will make the 318 even worse). If your trying to get the 318 to have some power, do a cam change and bump up the compression. That will wake that 318 up.