Not sure about using foamboard, but have a look here for the construction of the baseboards for the Warners Project layout Black Country Blues, which uses ply baseboards with kingspan for the trackbed and then normal polystyrene for the scenics.
http://www.rmweb.co.uk/community/ind...-base-scenics/